home *** CD-ROM | disk | FTP | other *** search
- SIN(3M) Last changed: 2-12-98
-
-
- NNAAMMEE
- SSIINN, DDSSIINN, CCSSIINN, CCDDSSIINN - Computes the sine
-
- SSYYNNOOPPSSIISS
- UNICOS and UNICOS/mk systems:
-
- SSIINN (([XX==]_x))
- DDSSIINN (([XX==]_x))
- CCSSIINN (([XX==]_x))
-
- UNICOS and IRIX systems:
- CCDDSSIINN (([XX==]_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
- CCDDSSIINN is a compiler extension to Fortran 90.
-
- DDEESSCCRRIIPPTTIIOONN
- CCDDSSIINN is the generic function name. These functions are CF90
- elemental functions.
-
- A vector version of this intrinsic exists on UNICOS and UNICOS/mk
- systems. On UNICOS/mk systems, the vector version of this intrinsic
- is used when --hh vveeccttoorr33 (C compiler) or --OO vveeccttoorr33 or --OO33 (Fortran
- compiler) has been specified on the compiler command line.
-
- The entry point CCDDSSIINN is provided for support in other languages. It
- is not recognized as an intrinsic function; therefore, you must use
- the CCDDIIRR$$ VVFFUUNNCCTTIIOONN directive to allow vectorization.
-
- These functions evaluate _y = sin(_x).
-
- CCFF9900
- CCDDSSIINN is called implicitly by the Fortran 90 compiler as a result of a
- generic SSIINN call with a complex double-precision argument.
-
- CCAALL RReeggiisstteerr UUssaaggee ((CCrraayy RReesseeaarrcchh SSyysstteemmss OOnnllyy))
- Scalar SSIINN: SSIINN%% (call-by-register)
- on entry (S1) = argument
- on exit (S1) = result
-
- Vector SSIINN: %%SSIINN%% (call-by-register)
- on entry (V1) = argument vector
- on exit (V1) = result vector
-
- Scalar DDSSIINN: DDSSIINN%% (call-by-register)
- on entry (S1) and (S2) = argument
- on exit (S1) and (S2) = result
-
- Vector DDSSIINN: %%DDSSIINN%% (call-by-register)
- on entry (V1) and (V2) = argument vector
- on exit (V1) and (V2) = result vector
-
- Scalar CCSSIINN: CCSSIINN%% (call-by-register)
- on entry (S1) and (S2) = argument
- on exit (S1) and (S2) = result
-
- Vector CCSSIINN: %%CCSSIINN%% (call-by-register)
- on entry (V1) and (V2) = argument vector
- on exit (V1) and (V2) = result vector
-
- Scalar CCDDSSIINN: CCSSDDIINN%% (call-by-register)
- on entry (S1), (S2), (S3), and (S4) = argument
- on exit (S1), (S2), (S3), and (S4) = result
-
- Vector CCDDSSIINN: %%CCSSDDIINN%% (call-by-register)
- on entry (V1), (V2), (V3), and (V4) = argument vecto
- on exit (V1), (V2), (V3), and (V4) = result vector
-
- AArrgguummeenntt RRaannggee
- SSIINN:
- 25
- |_x| < 2
-
- DDSSIINN:
- 45
- |_x| < 2
- 25
- On UNICOS/mk systems, |_x| < 2
-
- CCSSIINN:
- 25 13
- |_x | < 2 , |_x | < 2 * ln2
- _r _i 25
- On UNICOS/mk systems, |_x|< 2 , |_x | < 710.47586
- _i
- CCDDSSIINN:
- 45 13
- |_x | < 2 , |_x | < 2 * ln2
- _r _i
- NNOOTTEESS
- CCDDSSIINN is an outmoded routine for the CF90 compiler. Refer to the
- _F_o_r_t_r_a_n _L_a_n_g_u_a_g_e _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, _V_o_l_u_m_e _3, publication SR-3905, for
- information about outmoded features and their preferred standard
- alternatives.
-
- The name of the SSIINN, DDSSIINN, and CCSSIINN intrinsic can be passed as an
- argument. The name of the CCDDSSIINN intrinsic cannot be passed as an
- argument.
-
- RREETTUURRNN VVAALLUUEESS
- SSIINN returns the real sine of its real argument.
-
- DDSSIINN returns the double-precision sine of its double-precision
- argument.
-
- CCSSIINN returns the complex sine of its complex argument.
-
- CCDDSSIINN returns the complex double-precision sine of its complex
- double-precision argument.
-
- On CRAY T90 systems that support IEEE arithmetic, the following return
- values occur:
- 25
- SSIINN((_x)) = NaN if |_x| > 2
-
- SSIINN((NaN)) = NaN
-
- Additional entry points are available on IRIX systems. See the IRIX
- man pages for details.
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-